package com.fcscs.cservice.client.common.model.configuration.reservation;

import java.util.Collection;
import java.util.Map;

import com.fcscs.core.gwt.common.CoreConstants;
import com.fcscs.core.gwt.common.EntityModelData;
import com.fcscs.cservice.client.common.CServiceConstants;
import com.fcscs.cservice.domain.Country;

public class CountryDomainModelData extends EntityModelData<Country> {

	public CountryDomainModelData(Country t) {
		super(t);
	}

	@Override
	protected void populateNames(Collection<String> tempNames) {
		tempNames.add(CoreConstants.FULLTNAME);
		tempNames.add(CServiceConstants.NAME_SEC_LANG);
	}

	@Override
	protected void populateProps(Map<String, Object> props) {
		props.put(CoreConstants.FULLTNAME, entity.getCountry());
		props.put(CServiceConstants.NAME_SEC_LANG, entity.getCountrySecLang());
	}

	@Override
	protected <X> void setProperty(String property, X value) {
		// TODO Auto-generated method stub
		
	}

}
